class AhobFileController
  
  def self.respond_to model, request, config, store
    key = request.env['REQUEST_ARRAY'].join("/")
    # TODO: error handling
    file = AClockworkBanana.new store, model
    file.turn key
    Rack::Response.new file.content, 200, {'Content-Type' => file.mime_type}
  end
  
end